Part Number Hot Search : 
ANTX2N6 FR607G C3406 39100 GBL00511 PE4527 SPX2870U APL5708R
Product Description
Full Text Search
 

To Download EAOPT-OPTO16 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  zeppelinstrasse 19 d- 82 205 gilching phone +49-8105-778090 fax +49-8105-778099 http://www.lcd-module.de ea kit320-8 aug. 2004 5,7" lcd control panel with touch panel w. connector f or dotmatrix lcd ea kit320-8ctp dim. 153x120mm technical data * 5.7" lcd graphics display with diverse graphics functions and fonts * 320x240 pixels with cfl illumination, blue negative (recommended) * 320x240 pixels with led illumina tion, white, black char. fstn * font zoom from approx. 2mm to approx. 80mm, rotatable in 90 steps * supply +5v2%@500ma(cfl)/400ma(led) or optionally +9..35v * rs-232 or optionally rs-422 with baud ra tes of 2,400 to 115,200 * positioning accurate to the pixel with all functions * straight line, point, area, and/or/exor, bar graph... * clipboard functions, pull-down menus * up to 256 images storable internally * up to 1024 macros programmable (flash with 480 kb) * illumination switchable by means of software * combina tions of text and graphics, flashing attributes, inverted * analog touch panel: v ariable grid with 10x8 fields, for example * freely definable keys and switches * menus and bar graph can be set by touch * dot-matrix display can be connected directly as secondary display order designation 320x240 dots 5.7" with cfl illumination, blue negative ea kit320-8ctp as above, but without touch panel ea kit320-8c 320x240 dots, white led illumination, positive mode, fstn ea kit320-8lwtp as above fstn, but without touch panel ea kit320-8lw options / accessories supply +9..35v= instead of +5v= ea opt-9/35v rs-422 interface instead of rs-232 ea opt-rs4224 optocoupler onboard for 8 inputs and outputs ea opt-opto16 aluminum mounting bezel, anodized matt black ea 0fp320-8sw aluminum mounting bezel, anodized blue ea 0fp320-8bl cable (1.5m) for connecting to 9-pin sub-d (rs-232 female) ea kv24-9b floppy disk for macro programming (pc win95/98/2k) ea disk320
2 ea kit320-8 *) also available at http://www.lcd-module.de/deu/disk/disk320.zip general the ea kit320 is a fully assembled control and operating unit with a variety of integrated functions. the display has very compact dimensions and offers excellent super-twist contrast, which means the unit can be put into operation immediately. it is controlled via the standard rs-232 or rs-422 interface. in addition to complete graphics routines for display output, the operating unit also contains a wide variety of fonts. graphics commands similar to high-level language are used for programming. there is no longer any need for the time-consuming programming of character sets and graphics routines. the ease of use offered by macros and input via touch panel make it a real power display. hardware the operating unit is designed to work with an operating voltage of +5v. a supply voltage of 9..35v is also possible. serial asynchronous data transfer is carried out in rs-232 or rs-422 format. the transmission format is set permanently to 8 data bits, 1 stop bit, and no parity. rates between 2,400 baud and 115,200 baud can be selected by means of dip switches. rts and cts handshake lines are available. data format: touch panel the ea kit320-8ctp and -8lwtp versions are equipped with an integrated touch panel. you can make entries and menu or bar graph settings by touching the display. the labeling of the ?keys? is flexible and can also be changed during runtime (different languages, icons). the drawing of the individual ?keys? and the labeling is handled by the integrated software. software the operating unit is programmed by means of commands, such as draw a rectangle from (0,0) to (64,15) . no additional software or drivers are required. strings can be placed with pixel accuracy. flashing attributes can be assigned as often as you like ? for graphics as well. text and graphics can be combined at any time. up to 16 different character sets can be used. each one can be zoomed from 2 to 8 times. with the largest character set, the words and numbers displayed will fill the screen. accessories floppy disk for macro creation a floppy disk (ea disk320) is required for macro programming *) . this converts the commands entered in a text file into a code that can be read by the operating unit, and programs them into the flash prom. cable for pc to enable simple connection to pcs (specifically for macro programming), we provide an optional 1.5m cable and a 9-pin sub-d female connector (ea kv24-9b). simply insert it into com 1 or com 2 and get started. note: the cable is not suitable for the rs-422 version ea opt-rs4224.
3 ea kit320-8 rs-422 connector j3 pin symbol function 1 vdd + 5v supply 2 data in- receive data 3 data in+ receive data 4 data out- transmit data 5 data out+ transmit data 6 hs in- handshake 7 hs in+ handshake 8 hs out- handshake 9 hs out+ handshake 10 gnd 0v ground rs-232 connector j3 pin symbo in/out function 1 vdd - + 5v supply 2 dcd - connected to dtr 3 dsr - connected to dtr 4 txd out transmit data 5 cts in clear to send 6 rxd in receive data 7 rts out request to send 8 dtr - see pin 2, pin 3 9 - - nc 10 gnd - 0v ground baudrates dip switch data format 8,n,1 1 2 3 on on 2,400 off on on 4,800 off on 9,600 off off on on 19,200 off on 38,400 off off on 57,600 off off 115,200 off off off extension j5 pin symbol in/out function 1 vu - 9..35v supply 2 vdd - + 5v supply 3 gnd - 0v, ground 4 txd5 out transmit data 5 rxd5 in receive data 6 rts5 out request to send 7 cts5 in clear to send 8 reset in l: reset 9 scl out i2c b us, c lock 10 sda in/out i2c b us, d ata view from rear side supply voltage in the standard model, the supply voltage of +5v is fed in via the screw-type terminal j1. in the case of the version for 9v to 35v (ea opt-9/35v), the power is supplied via j2. important: it is imperative that the polarity is correct. even very brief polarity reversal can damage the entire operating unit immediately and irreparably. baud rates the baud rate can be set by means of the three dip switches on the left. when the equipment is delivered, the setting is 9,600 baud (dip 3 on). please note that the internal data buffer is only 128 bytes. the rts handshake line must therefore be queried (+10v level: data can be accepted; -10v level: display is busy). the data format is set permanently to 8 data bits, 1 stop bit, no parity. rs-232/rs-422 the operating unit is shipped with an rs- 232 interface as standard. the pin assignment of connector j3 is then as shown in the table on the left. j3 has a grid of 2.54mm. if the operating unit is ordered together with the ea opt-rs4224 option, special rs-422 drivers are fitted. the pin assignment in the table on the right then applies. incidentally, the same serial data with 5v levels and ttl logic is available at the j5 eyelet strip. these levels are suitable for direct connection to a c. if these signals are used, 4 solder straps lb1, lb2, lb 5 und lb 6 has to be opened !
4 ea kit320-8 inputs and outputs all ea kit320 operating units are supplied with 8 digital inputs and 8 outputs (5v cmos level, non-isolated). 8 outputs each line can be controlled by means of the ?esc y w? command. the maximum current per line is 6ma. it is therefore possible to connect an led (low current) directly to an output. higher currents can be amplified by means of external transistors. 8 inputs the inputs can be queried and evaluated (?esc y r?) directly via the serial interface. it is also possible to call a bit/port macro automatically in the event of changes at the inputs. automatic port querying can be deactivated by means of the ?esc y a 0? command. port macros: up to 256 port macros can be addressed by means of the binary combination of 8 inputs. bit macros each only affect one input. bit macro 1..8 is called at one of inputs 1...8 in the event of a change to high level. bit macros 9..16 are called in the event of a change to low level. at each change of the input port, the bit macros are executed first, followed by the port macro. if there is no macro defined, the new port status is sent via rs232/rs422. each of the macros can change the contents of the screen or switch outputs. this allows a wide range of control tasks to be carried out. to create the macros, you need a pc and the floppy disk ea disk320. note: the logic circuitry is designed for slow operations; in other words, more than 3 changes per second cannot be easily executed. if an input is open, this is evaluated as high (internal 100 kohm pullup). inputs and outputs via opt ocouplers (ea opt -opto16) the inputs and outputs can be equipped optionally with optocouplers (ea opt-opto16). the inputs and outputs are then isolated from the rest of the electronic components as well as each other. the connection is made via 16 different screw-type terminals. voltages of 5..35v can be applied directly at all 8 inputs. voltages of over 4v are identified as high (h) level; voltages of under 2v are identified as low (l) level. voltages between 2 and 4v are undefined. the collector and emitter of a transistor are each implemented as outputs on the screw-on terminals. each output can switch a maximum of 10ma. note: the negative pole of each screw-on terminal can be interconnected by closing solder straps lbi1..8 or lbo1..8. in addition, these solder straps can be connected to system gnd (solder 0 ? bridge rgnd). note: the optocouplers invert the input logic (all inputs open: port macro n255). it is advisable here (in the power-on macro, for example) to use the ?esc y i 1? command to evaluate the inputs inversely (i.e. all inputs open: port macro n0). in- and output j120 pin symbol function pin symbol function 1 vdd +5v supply 2 gnd 0v, ground 3 out1 / mo8 port output 1 matrix output 8 4 in1 / mi8 port input 1 matrix input 8 5 out2 / mo7 port output 2 matrix output 7 6 in2 / mi7 port input 2 matrix input 7 7 out3 / mo6 port output 3 matrix output 6 8 in3 / mi6 port input 3 matrix input 6 9 out4 / mo5 port output 4 matrix output 5 10 in4 / mi5 port input 4 matrix input 5 11 out5 / mo4 port output 5 matrix output 4 12 in5 / mi4 port input 5 matrix input 4 13 out6 / mo3 port output 6 matrix output 3 14 in6 / mi3 port input 6 matrix input 3 15 out7 / mo2 port output 7 matrix output 2 16 in7 / mi2 port input 7 matrix input 2 17 out8 / mo1 port output 8 matrix output 1 18 in8 / mi1 port input 8 matrix input 1 19 gnd 0v, ground 20 vdd +5v supply
5 ea kit320-8 type 1: 2x2 matrix type 2: 1x4 matrix type 3: 4x0 matrix external matrix keyboard a matrix keyboard (anything from individual keys to an 8x8 matrix keyboard) can be connected at the plug-in connection j120. the number of inputs and outputs of the ports (n1,n2=1..8) used is defined and the key debouncing is specified (n3=0..7 in 50ms increments) by means of the ?esc y m n1 n2 n3? command. please note when an external keyboard is connected that the digital inputs are reduced by the number n1 and the outputs are reduced by the number n2. each key is generally switched between an output and an input. each input has a 100k ? (approx.) pullup. in order to identify double keystrokes, the outputs must be decoupled from each other. this is best done with schottky diodes (e.g. bat 43). transmitting the keystrokes at each keystroke (key number 1..64), the associated matrix macro is executed or, if no macro is defined, the key number is transmitted with code letters. the release of the key is not transmitted. if the release of the key is to be transmitted as well, this can be done by defining matrix macro no. 0. note if the cts handshake line does not permit transmission, up to 8 keystrokes are stored in the key buffer. when the buffer is full, older keystrokes may be lost. determining the key number: key no. = (output no. - 1) * no. of inputs + no. of outputs (output = mox, input = mix). example: connection of 4 keys in 3 variations - variant 1: the 4 keys are defined as a 2x2 matrix by means of the ?esc y m 2 2 ..? command. the keys are connected to 2 inputs (mi1, mi2) and 2 outputs (mo1, mo2). the outputs are decoupled from each other by means of diodes so that double keystrokes can be identified. there are 6 inputs and 6 outputs available as port connections. - variant 2: the 4 keys are defined as a 1x4 matrix by means of the ?esc y m 1 4 ..? command. the keys are connected to 4 outputs (mo1, mo2) and read in via input mi1. there are 7 inputs and 4 outputs available as port connections. - variant 3: if only one output is used (4x1 matrix), the keys can also be connected to ground and read in directly at the inputs (= 4x0 matrix). the 4 keys are defined at the 4 inputs (mi1..mi4) by means of the ?esc y m 4 0 ..? command. there are 4 inputs and 8 outputs available as port connections.
6 ea kit320-8 connection for dot-matrix display you can connect a single external dot-matrix module (with hd44780 or compatible) with 1x8 up to 4x20 or 2x40 characters at eyelets j6 and j7. this dot-matrix display can be addressed very conveniently by means of ?esc t xx? terminal commands. alternatively, ?esc l xx? commands are available for controlling the hd44780 directly. a potentiometer for contrast adjustment is already fitted. a suitable series resistor r led can be fitted for led backlighting. macro programming single or multiple command sequences can be grouped together in macros and stored in the data flash. you can then start them by using the run macro commands. there are different types of macro: normal macros (0..255) these are started by means of an ?esc mn xx? command via the serial interface or from another macro. a series of macros occurring one after the other can be called cyclically (movie, hourglass, multi-page help text). these automatic macros continue to be processed until a command is received via rs-232 or another macro is activated (e.g. touch, port or matrix macro). touch macro (1..255) started when you touch/release a touch field (only in versions with a touch panel - tp) or issue an ?esc mt xx? command. menu macro (1..255) started when you choose a menu item or issue an ?esc mm xx? command. bit macro (1..8) or (9..16) started when a voltage is applied/changed at individual inputs in 1..8 (bitwise) or by means of an ?esc mb xx? command. bit macros 1..8 respond to a rising edge, whereas bit macros 9..16 respond to a falling edge of inputs 1..8. port macro (0..255) started when a voltage is applied/changed at the 8 inputs in 1..8 (binary combined) or by means of an ?esc mp xx? command. matrix macro (0..64) matrix macro 1..64: started when you press a key or issue an ?esc mx xx? command. matrix macro 0: started on release when a key is no longer depressed or by means of a command. the matrix keyboard is connected at the inputs and outputs; a single 8x8 matrix keyboard can be connected at most. power-on macro started after power-on. you can switch off the cursor and define an opening screen, for example. reset macro started after an external reset or after a voltage drop under 4.7v (vdd-vss). watchdog macro started after a fault/error (e.g. failure). important: if a continuous loop is programmed in the power-on, reset or watchdog macro, the display can no longer be addressed. in this case, the only thing you can do is: dip switch 5 to on, power-off, power-on and then dip 5 to off. the macros then have to be read in again. dotmatrix connector j6 + j7 pin symbol pegel description 1 vss l 0v, ground 2 vdd h +5v supply 3 vee - display voltage 0v-5v 4 rs h/l register select 5 r/w h/l h:read/l:write 6 e h enable 7 d0 h/l data0(lsb) 8 d1 h/l data 1 9 d2 h/l data 2 10 d3 h/l data 3 11 d4 h/l data 4 12 d5 h/l data 5 13 d6 h/l data 6 14 d7 h/l data7(msb) 15 a - anode (rled) 16 k l kathode (=vss)
7 ea kit320-8 256 images stored in the internal data flash to reduce the transmission times of the serial interface or to save storage space in the processor system, up to 256 images can be stored in the internal data flash. they can be called using the ?esc u i? command or from within a macro. all images in the windows bmp format (monochrome images only) can be used. they can be created and edited using widely available software such as windows paint or photoshop (only black and white = 1 bit). creating individual macros to create your own macros, you need the following: - the ea disk320 *) floppy disk, which contains a compiler, examples and fonts - a pc with a com1 or com2 serial interface and approximately 500kb of hard disk space - a text editor such as wordpad or textpad to define a sequence of commands as a macro, all the commands are written to a file on the pc (e.g. demo.kmc). you specify which character sets are to be integrated and which command sequences are to be in which macros. once the macros are defined, you start the program c:>kitcomp demo.kmc. this creates a data flash file called demo.df, which is then automatically stored in the data flash with the baud rate entered. this only takes a few seconds, and you can then use your user-defined macros immediately. you will find a detailed description of how to program macros, together with examples, in the files doku.doc (for word) and doku.txt (dos) on the ea disk320 *) floppy disk. write protection for macro programming pcb rev.c and newer: by setting dip switch 6 (write enable) to off, you can prevent the programmed macros, images and fonts from being overwritten inadvertently. after successful programming, this dip switch 6 should be set to off. (caution: on older pcb boards rev.a and rev.b (before 2002) dip switch 6 had reverse meaning: on=write protect; off=programming possible) *) also available at http://www.lcd-module.de/deu/disk/disk320.zip
8 ea kit320-8 internal font 5: 7x12 monospaced internal font 6: 8x16 monospaced internal font 1: 4x6 monospaced internal font 2: 5x6 monospaced internal font 3: 6x8 monospaced internal font 4: 8x8 monospaced
9 ea kit320-8 tip: font effects with large fonts, you can use the command 'esc zm' mode (link, pattern) to produce interesting effects through overlaying (writing and offsetting a word several times). original font 8x16 with zoom 3 at position 0,0 without pattern "outline font" produced by overlaying (exor) at pos. 1,1 overlaying (exor) of the "outline font" at pos. 2,2 . results in an "outline font with fill" overlaying ( or ) with 50% gray pattern of the "outline font" at pos. 0,0 . results in a "font with pattern fill" e.g. external font 10: geneva15.fxt proportional e.g. external font 7: chicago.fxt proportional font examples this hardcopy shows 6 internal and 8 external fonts. integrated and external fonts there are 6 monospaced character sets integrated as standard that can be used in terminal and graphics mode. each character set can be increased in height from 1 to 8 times in graphics output. independently of this, the width can also be increased two to eight times. each character can be positioned with pixel accuracy . text and graphics can be combined as required. several different font sizes can also be displayed together. each text can be output left justified, right justified or centered. rotation in 90 steps is also possible (for vertical installation of the display, for example). macro programming permits a further 10 fonts to be integrated. proportional character sets are also possible (in graphics mode only); these look better and take up less space on the screen. all conceivable fonts up to 255x240 pixels in size can be created using a text editor and programmed in using the kit compiler.
10 ea kit320-8 all functions at a glance ea kit320: command table 1 after reset command codes remarks comands for outputting strings output string l: left justified, c: centered r: right justified esc z l xx1 yy1 text ... nul a string (...) is output to xx1,yy1. nul ( $00), 'lf' ($0a) or 'cr' ($0d) = end of string; several lines are separated by the character '|' ($7c); text between two '~' ($7e) characters flashes on/off; text between two '@' ($40) characters flashes inversely; c r set font f n1 set font with the number n1 (1..16) 5 font zoom factor z n1 n2 n1 = x zoom factor (1x..8x); n2 = y zoom factor (1x..8x) 1,1 add. line spacing y n1 insert n1 pixels between two lines of text as additional line spacing text angle w n1 text output angle: n1=0: 0; n1=1: 90; n1=2: 180; n1=3: 270; 0 text mode v n1 mode n1: 1=set; 2=delete; 3=inverse; 4=replace; 5=inverse replace; 4 text pattern m n1 link text with pattern no. n1; 0 = do not link text with pattern 0 string for terminal esc z t text ... command for outputting a string in a macro to the terminal draw straight lines and points draw rectangle esc g r xx1 yy1 xx2 yy2 draw four straight lines as a rectangle from xx1,yy1 to xx2,yy2 draw straight line d xx1 yy1 xx2 yy2 draw straight line from xx1,yy1 to xx2,yy2 continue straight line w xx1 yy1 draw a straight line from last end point to xx1, yy1 0 draw point p xx1 yy1 set one point at coordinates xx1, yy1 point size/line thickness z n1 n2 n1 = x point size (1..15); n2 = y point size (1..15); 1,1 graphic mode v n1 set drawing mode n1: 1=set; 2=delete; 3=inverse; 1 pattern m n1 set straight line/point pattern no. n1; 0 = do not use pattern 0 change/draw rectangular areas delete area esc r l xx1 yy1 xx2 yy2 delete an area from xx1,yy1 to xx2,yy2 (all pixels out) invert area i xx1 yy1 xx2 yy2 invert an area from xx1,yy1 to xx2,yy2 (invert all pixels) fill area s xx1 yy1 xx2 yy2 fill an area from xx1,yy1 to xx2,yy2 (all pixels on) area with fill pattern m xx1 yy1 xx2 yy2 n1 draw an area from xx1,yy1 to xx2,yy2 with pattern n1 (always set) draw box o xx1 yy1 xx2 yy2 n1 draw a rectangle xx1,yy1 to xx2,yy2 with fill pattern n1 (always replace) draw frame r xx1 yy1 xx2 yy2 n1 drawaframeofthetypen1fromxx1,yy1toxx2,yy2(alwaysset) draw frame box t xx1 yy1 xx2 yy2 n1 draw a frame box of the type n1 from xx1,yy1 to xx2,yy2 (always replace) bitmap image commands image from clipboard esc u c xx1 yy1 the current contents of the clipboard are loaded to xx1,yy1 with all the image attributes load internal image i xx1 yy1 nr load internal image with the no. (0..255) from eeprom to xx1,yy1 load image l xx1 yy1 data ... load an image to xx1,yy1; see image structure for image data image zoom factor z n1 n2 n1 = x zoom factor (1x..8x); n2 = y zoom factor (1x..8x) 1,1 image angle w n1 output angle: n1=0: 0; n1=1: 90; n1=2: 180; n1=3: 270; 0 image link mode v n1 mode n1: 1=set; 2=delete; 3=inverse; 4=replace; 5=inverse replace; 4 image pattern m n1 link image with pattern no. n1; 0 = do not link image with pattern 0 image flashing attribute b n1 n1=0 image attribute flashing off; n1=1 image flashes on/off; n1=2 image flashes inversely; 0 send hard copy esc h a full image is requested in windows bmp format. the image header is sent first via rs232, followed by the actual image data (9662 bytes). display commands (effect on the entire display) delete display esc d l delete display contents (all pixels off) invert dis play i invert display contents (invert all pixels) fill display s fill display contents (all pixels on) switch display off a display contents become invisible but are retained, commands continue to be possible switch display on e display contents become visible again on display update u n1 n1=0: display outputs are no longer visible (but continue to be executed) n1=1: display outputs are visible immediately n1=2: refresh display contents (previous outputs become visible) 1 macro commands run macro esc m n n1 call the (normal) macro with the number n1 (0..255) (max. 7 levels) run touch macros t n1 call the touch macro with the number n1 (0..255) (max. 7 levels) run port macro p n1 call the port macro with the number n1 (0..255) (max. 7 levels) run bit macro b n1 call the bit macro with the number n1 (1..16) (max. 7 levels) run menu macro m n1 call the menu macro with the number n1 (0..255) (max. 7 levels) run matrix macro x n1 call the matrix macro with the number n1 (0..64) (max. 7 levels) autom. macro cyclical a n1 n2 n3 automatically process macros n1..n2 cyclically; n3=pause in 1/10s autom. macro pingpong j n1 n2 n3 automatically process macros n1..n2..n1 (pingpong); n3=pause in 1/10s flashing area commands define flashing area esc q b xx1 yy1 xx2 yy2 define a flashing area (on/off) from xx1,yy1 to xx2,yy2 inverted flashing area i xx1 yy1 xx2 yy2 define an inverted flashing area from xx1,yy1 to xx2,yy2 delete flashing attribute l xx1 yy1 xx2 yy2 delete the flashing attribute from xx1,yy1 to xx2,yy2 set flashing time z n1 set the flashing time n1= 1..15 in 1/10s; 0=deactivate flashing function 6
11 ea kit320-8 default settings after power on or a reset, some functions are set to a particular value (see last column entitled ?after reset? in the table). please note that all the settings can be overwritten by creating a power-on macro. ea kit320: command table 2 after reset command codes remarks bar graph commands define bar graph esc b r l o u n1 xx1 yy1 xx2 yy2 sv ev typ. pat define bar graph to l(eft), r(ight), o(ben) (up), u(nten) (down) with the "nr" n1. xx1,yy1,xx2,yy2 form the rectangle enclosing the bar graph. sv, ev are the values for 0% and 100%. type=0: bar; type=1: bar in rectangle; pat=bar pattern type=2: line; type=3: line in rectangle; pat= line width no bar define update bar graph a n1 valu set and draw the bar graph with the number n1 to the new user "value." draw new bar graph z n1 draw the bar graph with the number n1 completely send bar graph value s n1 send the current value of bar graph no. n1 on the serial interface clipboard commands (buffer for image areas) select clipboard no. esc c n n1 2 clipboards are available, the current clipboard is selected with n1= (1,2). 1,blan save display contents b the entire contents of the display are copied to the clipboard as an image area save area s xx1 yy1 xx2 yy2 the image area from xx1,yy1 to xx2,yy2 is copied to the clipboard restore area r the image area on the clipboard is copied back its original position in the display copy area k xx1 yy1 the image area on the clipboard is copied to xx1,yy1 in the display menu/pop-up commands define menu and display esc n d xx1 yy1 nr text ... nul a menu is drawn as of the corner xx1,yy1 with the current menu font. nr:= currently inverted entry (e.g.: 1 = 1st entry) text:= string with menu items. the different items are separated by the character '|' ($7c,dec:124) (e.g. "item1|item2|item3"). the background of the menu is saved automatically. if a menu is already defined, it is automatically canceled+deleted. next item n the next item is inverted or remains at the end previous item p the previous item is inverted or remains at the beginning end of menu/send s the menu is removed from the display and replaced with the original background. the current item is sent as a number (1..n) (0=no menu displayed) end of menu/macro m n1 the menu is removed from the display and replaced with the original background. menu macro n1 is called for item 1, menu macro nr+1 for entry 2, and so on end of menu/cancel a the menu is removed from the display and replaced with the original background set menu font f n1 set font with the number n1 (1..16) for menu display 5 menu font zoom factor z n1 n2 n1 = x zoom factor (1x..8x); n2 = y zoom factor (1x..8x) 1,1 add. line spacing y n1 insert n1 pixels between two menu items as additional line spacing menu angle w n1 menu display angle: n1=0: 0; n1=1: 90; n1=2: 180; n1=3: 270; 0 por t commands write output port esc y w n1 n2 n1=0: set all 8 output ports in accordance with n2 (=8-bit binary value) n1=1..8: reset output port n1 (n2=0); set (n2=1); invert (n2=2) ports 1-8=0 read input port r n1 n1=0: read all 8 input ports as 8-bit binary value n1=1..8: read input port (1=h level=5v, 0=l level=0v) port scan on/off a n1 the automatic scan of the input port is n1=0: deactivated; n1=1: activated 1 invert input port i n1 the input port is n1=0: normal; n1=1: evaluated inverted 0 matrix keyboard m n1 n2 n3 specifies an external matrix keyboard at the inputs and outputs. n1=number of inputs (1..8); n2=number of outputs (0..8); n3= debouncing (0..7) 0 illumination on/off/half l n1 cfl/led illumination n1=0: off; n1=1: on; n1=2: half brightness; 1 other commands wait (pause) esc x n1 wait n1 tenths of a second before the next command is executed. beep on/off esc jn1 n1=1..255: tone on for n1 1/10s off send bytes esc sb num data ... num (=1..255) bytes are sent on the rs-232/rs-422 data ... = num bytes (e.g. control of an external serial printer) send analog value esc s d the current value of the analog input ain is sent on the rs-232/rs-422 send version esc s v the software version no. + date is sent as a string on the rs-232/rs-422 commands to hd44780 *) esc l b num data ... num (=1..255) commands are sent to the ext. dot-matrix module with hd44780. data to hd44780 *) d num data ... num (=1..255) data is sent to the ext. dot-matrix module with hd44780. read eeprom esc e r addr num num (=1..255) bytes are requested from the internal user eeprom as of the address addr and sent via the rs-232/rs-422. write eeprom w addr num data ... num (=1..255) bytes are written to the internal user eeprom as of the address addr. data ... = num bytes read i2c bus esc i r addr num num (=1..255) bytes are requested from the block on the i2c bus with the device address addr and sent via the rs-232/rs-422. write i2c bus w addr num data ... num (=1..255) bytes are sent on the 12c bus for the block with the device address addr. data ? = num bytes *) only for version 1.1 and higher
12 ea kit320-8 *) only for version 1.1 and higher touch panel adjustment the ea kit320-8xxtp has an analog, resistive touch panel. this touch panel is perfectly adjusted and immediately ready for operation on delivery. as a result of aging and wear, it may become necessary to readjust the touch panel. adjustment procedure: 1. touch the touch panel at power-on and keep it depressed. after the message ?touch adjustment?? appears, release the touch panel. alternative to that issue the ?esc @? command. 2. touch the touch panel (again) within a second for at least one second. 3. follow the instructions for adjustment (press 2 the points upper left and lower right ). ea kit320: commands for the touch panel after reset command codes remarks touch: define areas define touch key (key remains depressed as long as there is contact) esc a c f1 f2 down code up code text ... nul 'c':thetouchfieldsf1tof2aredefinedforakey.'t':theareafrom xx1,yy1 to xx2,yy2 is defined as a key. 'u': image no. n1 is loaded to xx1,yy2 and defined as a key. 'down code':(1-255) return/touch macro when key pressed. 'up code': (1-255) return/touch macro when key released. (down/up code = 0 press/release not reported). text: a string that is centered with the current touch font in the touch key follows; multiline text is s eparated with the character '|' ($7c, dec: 124); 'nul': ($00) = end of string t xx1 yy1 xx2 yy2 down code up code text ... nul u xx1 yy1 n1 down code up code text ... nul define touch switch (status of the switch toggles after each contact on/off) esc a g f1 f2 down code up code text ... nul 'g': the touch fields f1 to f2 are defined for a switch. 'k': the area from xx1,yy1 to xx2,yy2 is defined as a switch. 'j': image no. n1 is loaded to xx1,yy2 and defined as a switch. 'down code': (1-255) return/touch macro when switched on. 'up code': (1-255) return/touch macro when switched off. (down/up code = 0 on/off not reported). text: a string that is centered with the current touch font in the touch key follows; multiline text is s eparated with the character '|' ($7c, dec: 124); 'nul': ($00) = end of string k xx1 yy1 xx2 yy2 down code up code text ... nul j xx1 yy1 n1 down code up code text ... nul define touch key with menu function esc a m xx1 yy1 xx2 yy2 down code up code mnu code text ... nul the area from xx1,yy1 to xx2,yy2 is defined as a menu key. 'down code':(1-255) return/touch macro when pressed. 'up code':(1-255) return/touch macro when menu canceled 'mnu code':(1-255) return/menu macro+(item no. 1) after selection of a menu item. (down/up code = 0 activation/cancellation of the menu not reported). 'text':= string with the menu key text and the menu items. the different items are separated by the character '|' ($7c,dec:124) (e.g. "key|item1|item2|item3". the key text is drawn with the current touch font and the menu items are drawn with the current menu font. the background of the menu is saved automatically. define drawing area esc a d xx1 yy1 xx2 yy2 n1 a drawing area is defined. you can then draw with a line width of n1 within the corner coordinates xx1,yy1 and xx2,yy2. define free touch area*) esc a h xx1 yy1 xx2 yy2 a freely usable touch area is defined. touch actions (down, up and drag) within the corner coordinates xx1,yy1 and xx2,yy2 are sent via rs232. set bar by touch esc a b nr the bar graph with the no. n1 is defined for input by touch panel. touch: settings touch frame esc a e n1 the frame type for the display of touch keys/switches is set with n1 1 touch key response i n1 automatic inversion when touch key touched: n1=0=off; n1=1=on; 1 s n1 tone sounds briefly when a touch key is touched: n1=0=off; n1=1=on 1 invert touch key n code the touch key with the assigned return code is inverted manually query touch switch x code the status of the switch (off=0; on=1) is sent via the serial interface. set touch switch p code n1 the status of the switch is changed by means of a command n1=0=off; n1=1=on. delete touch area l code n1 the touch area with the return code (code=0: all touch areas) is removed from the touch query. when n1=0, the area remains visible on the display; when n1=1, the area is deleted from the display. send bar value on/off q n1 automatic transmission of a new bar graph value by touch input is deactivated (n1=0) or activated (n1=1) 1 touch query on/off a n1 touch query is deactivated (n1=0) or activated (n1=1) 1 touch: label font label font esc a f n1 set font with the number n1 (1..16) for touch key label 5 label zoom factor z n1 n2 n1 = x zoom factor (1x..8x); n2 = y zoom factor (1x..8x) 1,1 add. line spacing y n1 insert n1 pixels between two lines of text as additional line spacing label angle w n1 text output angle: n1=0: 0; n1=1: 90; n1=2: 180; n1=3: 270; 0
13 ea kit320-8 ea kit320: command table for terminal mode after reset command codes remarks commands for terminal mode ff: form feed (dec:12) ^l the contents of the terminal area are deleted and the cursor is placed at pos. (1,1) cr: carriage return (d:13) ^m cursor to the beginning of the line on the extreme left lf: line feed (dec:10) ^j cursor is set to the next line position cursor esc t p n1 n2 n1=column; n2=line; origin upper-left corner (1,1) 1,1 cursor on/off c n1 n1=0: cursor is invisible; n1=1: cursor flashes; 1 terminal mode m n1 n1=0: clear mode; n1=1: overwrite mode; n1=2: scroll mode 2 autom. line feed z n1 the automatic line feed is switched on (n1=1) or off (n1=0) 1 terminal invisible a terminal display not visible; outputs continue to be executed terminal visible e terminal display is visible again; on redirect terminal outputs suppress terminal esc t n ascii characters,ff,cr,lf are suppressed. commands (esc t) are executed terminal output internal i all terminal outputs/commands affect the internal terminal of the ea kit320 intern terminal output external x all terminal outputs/commands affect the external dot-matrix module settings for the internal terminal set font esc t f n1 set font no. n1 (1..16) for terminal mode (monospaced fonts only) 5 add. line spacing y n1 n1 pixels are defined additionally for the current font as the line spacing define window w xx1 yy1 xx2 yy2 w the terminal output is executed only within the window from xx1,yy1 (=upper-left corner) to xx2,yy2 (=lower-right corner); xx=0..319; yy=0..239; w=angle (0=0; 1=90; 2=180; 3=270) of the terminal display 0..319 0..239 settings for the external dot-matrix module (optionally to j6 or j7) initialize dot-matrix module esc t d n1 n2 initialize an external dot-matrix display (hd44780 compatible) - n1 = number of characters; n2 = number of lines responses of the ea kit320 via the serial interface id num data remarks automatic response from the kit320 esc a 1 code response from the analog touch panel when a key/switch is pressed. code = down or up code of the key/switch. only transmitted if no touch macro is defined with the "down code" ! esc n 1 code after a menu item is selected by touch, the selected menu item code is transmitted. only transmitted if no touch macro is defined with the no. code ! esc p 1 value after the input port is changed, the new 8-bit value is transmitted. the automatic port scan must be activated. see the 'esc y a n1' command. it is only transmitted when there is no port macro defined with the no. value! esc m 1 nr when a keystroke of the external matrix keyboard is detected, the newly pressed key number nr is transmitted. only transmitted if no touch macro is defined with the no. nr! esc b 2 nr value when a bar graph is set by touch, the current value of the bar is transmitted with nr. transmission of the bar balue must be activated (see the 'esc a q n command). esc h 5 typ. xlo xhi ylo yhi *) the following is transmitted in the case of a free touch area event: type=0 release; type=1 is touch; type=2 is drag within the free touch area at the x,y coordinates (16-bit values) response only when requested by command esc n 1 nr after the 'esc n s' command, the currently selected menu item is transmitte d nr=0: no menu item is selected. esc b 2 nr value after the 'esc b s n1' command, the current value of the bar is transmitted w nr. esc x 2 code value after the 'esc a x' command, the current status of the touch switch is transmitted with code (the return code). value = 0 or 1 esc y 2 nr value after the 'esc y r' command, the requested input port is transmitted. nr=0: value is an 8-bit binary value of all 8 inputs. nr=1..8: value is 0 or 1 dependin on the status of the input nr esc d 2 lo-byt value hi-byt value after the 'esc s d' command, the current analog value (max. 1/2 vdd) from the ain input. (value = 0..1023 corresponds approximately to 0..2.5v) esc e num data ... after the 'esc e r addr num' command, the requested bytes are transmitted from the user eeprom. esc i num data ... after the 'esc i r addr num' command, the requested bytes are transmitted from the 12c bus. response without esc and length specification (num) b m + 9660 bytes of image data after the 'esc h' command, 9662 bytes bytes are transmitted (=320x240 bm image). the first two bytes of the bmp image always begin with 'bm' e a string .. nul after the 'esc s v' command, the version of the kit firmware is transmitted a a string (end code is the character nul = $00). the first two bytes of the stri n always begin with 'ea'
14 ea kit320-8 terminal mode when you switch the unit on, the cursor flashes in the first line, indicating that the display is ready for operation. all the incoming characters are displayed in ascii format on the terminal (exception: cr,lf,ff,esc,?#?). line breaks are automatic or can be executed by means of the ?lf? character. if the last line is full, the contents of the terminal scroll upward. the ?ff? character (page feed) deletes the contents of the terminal display and positions cursor in the upper-left corner. the terminal has its own layer for display and is thus completely independent of the graphical output; moreover, the size of the terminal window can be freely defined. if the graphics screen is deleted with ?esc dl?, for example, that does not affect the contents of the terminal window (the terminal level is deleted with ?ff?). the character ?#? is used as an escape character (see below) and thus cannot be displayed directly on the terminal. if the character ?#? is to be output on the terminal, it must be transmitted twice: ?##?. command transfer/parameters the operating unit unit can be programmed by means of various integrated commands. each command begins with escape followed by one or two command letters and then parameters. there are two ways to transmit commands: 1. ascii mode - the esc character corresponds to the character ?#? (hex: $23, dec: 35). - the command letters come directly after the ?#? character. - the parameters are transmitted as plain text (several ascii characters) followed by a separating character (such as a comma ?,?). - strings (text) are written directly without quotation marks and concluded with cr (hex: $0d) or lf (hex: $0a). 2. binary mode - the escape character corresponds to the character esc (hex: $1b, dec: 27). - the command letters are transmitted directly. - the coordinates xx and yy are transmitted as 16-bit binary values (fiirst the low byte and then the high byte). - all the other parameters are transmitted as 8-bit binary values (1 byte). - strings (text) are concluded with cr (hex: $0d) or lf (hex: $0a) or nul (hex: $00). no separating characters, such as spaces or commas, may be used in binary mode. the commands require no final byte , such as a carriage return (apart from the string $00).
15 ea kit320-8 example codes can be output in ascii mode for terminal.exe #zl117, 32,test for turbo-pascal write(aux, '#zl117, 32,test', chr(13) ); for c fprintf(stdaux, "#zl%d,%d,%s\x0d", 117, 32, "test"); for q-basic open "com1:9600,n,8,1,bin" for random as #1 print #1,"#zl117,32,test"+chr$(13) example codes can be output in binary mode in ascii esc z l u nul space nul t e s t nul in hex $1b $5a $4c $75 $00 $20 $00 $54 $65 $73 $74 $00 in decimal 27 90 76 117 0 32 0 84 101 115 116 0 for turbo-pascal write(aux, chr(27), 'z', 'l', chr(117), chr(0), chr(32), chr(0), 'test', chr(0)); for c fprintf(stdaux, "\x1bzl%c%c%c%c%s\x00", 117, 0, 32, 0, "test"); for q-basic open "com1:9600,n,8,1,bin" for random as #1 print #1,chr$(27)+"zl"+chr$(117)+chr$(0)+chr$(32)+chr$(0)+"test"+chr$(0) programming example in the following example you can see how the string ?test? can be output left justified at the coordinates 117,32. pattern a pattern type can be set as a parameter with some commands. in this way, rectangular areas, bar graphs and even text can be filled with different patterns. there are 16 internal fill patterns available; in addition, some fill patterns can be integrated by means of the kit compiler. frames and key forms a frame type can be set by using the draw frame or draw frame box command or by drawing touch keys. there are 16 internal frame types available; in addition, some frame types can be integrated by means of the kit compiler.
zeppelinstrasse 19 d- 82 205 gilching phone +49-8105-778090 fax +49-8105-778099 http://www.lcd-module.de ea kit320-8 dimensions w/o touch panel dimensions with touch panel all dimensions are in mm all dimensions are in mm frontpanel ea 0fp320-8 panel cut out all dimensions are in mm
mouser electronics authorized distributor click to view pricing, inventory, delivery & lifecycle information: electronic assembly: ? ea kit320-8ctp


▲Up To Search▲   

 
Price & Availability of EAOPT-OPTO16

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X